#include "MyConnect.h"

MyConnect::MyConnect()
{
	m_Connection.connect("MedievalWars", "localhost","MedievalWars","MedievalWars");
}

MyConnect::~MyConnect()
{
	m_Connection.disconnect();
}

mysqlpp::Connection& MyConnect::GetConnection()
{
	return m_Connection;
}